/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.capex.javacore.padre;

/**
 *
 * @author Acer
 */
public class main {
    public static void main(String[] args) {
        Rectangulo rectangulo = new Rectangulo();
        System.out.println("Rectangulo 8, 10 area = "+ rectangulo.calcularArea(8, 10));

        Circulo circulo = new Circulo();
        System.out.println("Circulo 15 Area = "+circulo.calcularArea(15d));

        Cuadrado cuadrado = new Cuadrado();
        System.out.println("Cuadrado 5 Area = "+cuadrado.calcularArea(5l));
    }
}
